home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / primgad / p3rect.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  884 b   |  47 lines

  1.  
  2. // JavaScript wrapper for p3rect.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_p3rect_H = 1;
  7. include("real/gadget/r3prpgad.js")
  8.  
  9.  
  10. var R3CLID_RECTPROPGADGET = 240;
  11.  
  12.  
  13.  
  14.  
  15. // Description: set rectangle points (mapchanges)
  16. // p3: r3Vect
  17.  
  18. R3PREGM_CPP2 = 240002;
  19.  
  20. function mR3PREGM_CPP2(p3) {
  21.   DoA(this.r3obj, 240002, p3, R3TID_VECTOR, 0);
  22. }
  23.  
  24. // Description: set width/height (mapchanges)
  25. // p3: Number
  26.  
  27. R3PREGM_HEIGHT = 240004;
  28.  
  29. function mR3PREGM_HEIGHT(p3) {
  30.   DoA(this.r3obj, 240004, p3, R3TID_FLOAT, 0);
  31. }
  32.  
  33.  
  34.  
  35. function r3Rectpropgadget () { 
  36.    this.base = r3God;
  37.    if(arguments.length) {
  38.       this.base(R3CLID_RECTPROPGADGET, arguments);
  39.    }
  40.    // Methods
  41.    this.CPP2=mR3PREGM_CPP2;
  42.    this.HEIGHT=mR3PREGM_HEIGHT;
  43.  
  44. }
  45.  
  46. r3Rectpropgadget.prototype=new r3Propertiesgadgets;
  47. // p3rect.h_H